package cn.com.git.workflow.service.dto;

import cn.com.git.common.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
  * WorkFlow dto
  * @author zhangzhenfu
  * @Description
  * @date 2020/4/12
*/
@Data
public class WorkFlowNextDTO extends BaseDTO {


    @ApiModelProperty(value = "流程id")
    @NotNull
    private Integer flowId;

    @ApiModelProperty(value = "流程类型")
    @NotNull
    private String flowType;

    @ApiModelProperty(value = "流程内容")
    private String body;

    @ApiModelProperty(value = "审批内容")
    private String content;

    @ApiModelProperty(value = "当前节点")
    @NotNull
    private WorkFlowNodeDTO currentNode;

    @ApiModelProperty(value = "当前节点操作")
    @NotNull
    private WorkFlowNodeDTO.WorkFlowNodeOperateDTO currentNodeOperate;

    @ApiModelProperty(value = "当前节点处理组用户")
    @NotNull
    private WorkFlowNodeDTO.WorkFlowNodeGroupOperatorDTO currentNodeGroupUser;

    @ApiModelProperty(value = "下一个节点处理组用户")
    @NotNull
    private List<WorkFlowNodeDTO.WorkFlowNodeGroupOperatorDTO> nextNodeGroupUserList;

    public WorkFlowNextDTO() {
    }

}